//
//  ViewController.m
//  myfistopengl
//
//  Created by huiti123 on 2017/3/30.
//  Copyright © 2017年 wtw. All rights reserved.
//

#import "ViewController.h"
#import "myglView.h"

@interface ViewController ()



@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    myglView *_myGLView = [[myglView alloc]initWithFrame:CGRectMake(0, 60, self.view.bounds.size.width, 300)];
    
    _myGLView.backgroundColor = [UIColor lightGrayColor];
    [self.view addSubview:_myGLView];
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
